<?php echo form_open();?>
    <table>
        <tr>
            <td>ho ten</td>
            <td><?php echo form_input('order_name',set_value('order_name')). form_error('order_name');?></td>
        </tr>
        <tr>
            <td>dia chi mail</td>
            <td><?php echo form_input('order_email' ,set_value('order_email')). form_error('order_email');?></td>
        </tr>
        <tr>
            <td>so dien thoai</td>
            <td><?php echo form_input('order_phone_no',set_value('order_phone_no')). form_error('order_phone_no');?></td>
        </tr>
        <tr>
            <td>phuong thuc nhan hang</td>
            <td><?php echo form_dropdown('order_deliver_method',$options=array('home'  => 'nhan tai nha',
                                                                     'shop'    => 'nhan tai shop'))
                                                                     . form_error('order_deliver_method');?></td>
        </tr>
        <tr>
            <td>dia chi nhan hang</td>
            <td><?Php echo form_input('order_address',set_value('order_address')). form_error('order_address');?></td>
        </tr>
        <tr>
            <td>ghi chu</td>
            <td><?php echo form_textarea('order_comment',set_value('order_comment')). form_error('order_comment');?></td>
        </tr>
        <tr>
            <td><?php echo form_submit('','check out');?></td>
        </tr>
    </table>
<?php echo form_close();?>
<a href="<?php echo site_url('');?>">back home</a>